package com.kevin.learn.c1;

public class HelloServer {

    public static void main(String[] args) {
        String s = "{{title.DATA}}\n\n您的账户余额为:{{amount.DATA}}\n您的帅气值为:{{max.DATA}}";

        String[] split = s.split("}}");

        for (String s1 : split) {
            String replace = s1.replaceAll("\n", "");
            replace = replace + "}}";
            System.out.println(replace);
        }
    }
}
